import request from '@/utils/request'

// 查询房间管理列表
export function listRoommanagement(query) {
  return request({
    url: '/roommanagement/roommanagement/list',
    method: 'get',
    params: query
  })
}

// 查询房间管理详细
export function getRoommanagement(RoomID) {
  return request({
    url: '/roommanagement/roommanagement/' + RoomID,
    method: 'get'
  })
}

// 新增房间管理
export function addRoommanagement(data) {
  return request({
    url: '/roommanagement/roommanagement',
    method: 'post',
    data: data
  })
}

// 修改房间管理
export function updateRoommanagement(data) {
  return request({
    url: '/roommanagement/roommanagement',
    method: 'put',
    data: data
  })
}

// 删除房间管理
export function delRoommanagement(RoomID) {
  return request({
    url: '/roommanagement/roommanagement/' + RoomID,
    method: 'delete'
  })
}
